/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 29489
 * Date: 2023-04-13
 * Time: 9:38
 */
public class Vehicle {
    private int peopleNum;
    private double cargoCapacity;
    private int rent;

    public Vehicle(){}
    public Vehicle(int peopleNum, double cargoCapacity, int rent){
        setPeopleNum(peopleNum);
        setCargoCapacity(cargoCapacity);
        setRent(rent);
    }
    public void setPeopleNum(int num){
        this.peopleNum = num;
    }
    public int getPeopleNum(){
        return peopleNum;
    }
    public void setCargoCapacity(double capacity){
        this.cargoCapacity = capacity;
    }
    public double getCargoCapacity(){
        return cargoCapacity;
    }
    public void setRent(int rent){
        this.rent = rent;
    }
    public int getRent(){
        return rent;
    }
}
